Skip to content

On Unix, avoid a conversion to wchar_t in getpath.c#153230

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:getpath
Jul 7, 2026
Merged

On Unix, avoid a conversion to wchar_t in getpath.c#153230
vstinner merged 1 commit into
python:mainfrom
vstinner:getpath

Conversation

@vstinner

@vstinner vstinner commented Jul 6, 2026

Copy link
Copy Markdown
Member
  • Replace _Py_wstat() with _Py_stat() in isfile() and isxfile().
  • Replace _Py_wfopen() with Py_fopen() in readlines().

* Replace _Py_wstat() with _Py_stat() in isfile() and isxfile().
* Replace _Py_wfopen() with Py_fopen() in readlines().
@vstinner vstinner requested a review from FFY00 as a code owner July 6, 2026 19:11
@vstinner vstinner merged commit ce96dd6 into python:main Jul 7, 2026
98 of 100 checks passed
@vstinner vstinner deleted the getpath branch July 7, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant